package service;


import Message.DTO.DishDTO;
import Message.DTO.DishPageQueryDTO;
import Message.PageResult;
import Message.entity.Dish;
import Message.vo.DishVO;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public interface DishManageService {


    DishVO SelectDish(Integer id);

    PageResult DishSelectList(DishPageQueryDTO dishPageQueryDTO);

    List<DishVO> DishCategoryId(Long categoryId, String name);

    void StatusDish(Integer status, Long id);

    void UpdateDish(DishDTO dishDTO);

    void InsertDish(DishDTO dishDTO);

    void delete(List<Long> ids);

    List<DishVO> listWithFlavor(Dish dish);
}
